<template>
  <div>
    <div>
      <router-view />
    </div>
    <van-tabbar route>
      <van-tabbar-item icon="wap-home-o" to="/index">首页</van-tabbar-item>
      <van-tabbar-item icon="apps-o" to="fen">分类</van-tabbar-item>
      <van-tabbar-item icon="shopping-cart-o" to="shopping" :badge="this.$store.getters.tonums">购物车</van-tabbar-item>
      <van-tabbar-item icon="manager-o" to="me">个人</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: 0,
    };
  },
  created() {},
  mounted() {},
  methods: {},
};
</script>

<style lang="less">
</style>
